package com.github.cakin.shiro.chapter19.dao;

import com.github.cakin.shiro.chapter19.entity.UrlFilter;

import java.util.List;

/**
 * @className: UrlFilterDao
 * @description: UrlFilterDao
 * @date: 2020/5/28
 * @author: cakin
 */
public interface UrlFilterDao {
    /**
     * 功能描述：创建UrlFilter
     *
     * @author cakin
     * @date 2020/5/28
     * @param urlFilter url过滤器
     * @return UrlFilter url过滤器
     */
    UrlFilter createUrlFilter( UrlFilter urlFilter );
    /**
     * 功能描述：更新UrlFilter
     *
     * @author cakin
     * @date 2020/5/28
     * @param urlFilter url过滤器
     * @return UrlFilter url过滤器
     */
    UrlFilter updateUrlFilter( UrlFilter urlFilter );
    /**
     * 功能描述：根据urlFilterId删除UrlFilter
     *
     * @author cakin
     * @date 2020/5/28
     * @param urlFilterId url过滤器id
     */
    void deleteUrlFilter( Long urlFilterId );
    /**
     * 功能描述：根据urlFilterId查询UrlFilter
     *
     * @author cakin
     * @date 2020/5/28
     * @param urlFilterId url过滤器id
     * @return UrlFilter url过滤器
     */
    UrlFilter findOne( Long urlFilterId );
    /**
     * 功能描述：根据urlFilterId删除UrlFilter
     *
     * @author cakin
     * @date 2020/5/28
     * @return List<UrlFilter> url过滤器列表
     */
    List<UrlFilter> findAll();
}
